focusPixel
Type
property
Summary
Specifies which entry in the color table is used for the color of an object's outline when it has the insertion point or is active focused.
Syntax
set the focusPixel of <object> to <colorNumber>
Description
Use the focusPixel property to change the focus color of an object when the bit depth of the screen is 8 bits (256 colors) or less.
The focusPixel property specifies which entry in the color table is used for an object's focus color. It is similar to the focusColor property, but is specified as an entry in the current color table, rather than as a color reference.
The color table can be set by changing the colorMap property.
Examples
set the focusPixel of this stack to 33
Related
keyword: integer
property: borderPixel, focusColor
glossary: object, property, color reference, insertion point, bit, color table, active control, bit depth, explicit focus
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile